WP_Defender\Component\Blacklist_Lockout A

Total Complexity 74
Dependencies 8
Dependents 13
Total lines 432
Lines of code 261
Logical lines of code 163
Comment lines 115
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
is_geodb_downloaded()
C
36 23 78
validate_geodb_file()
A
49 9 29
fetch_latest_ips()
S
53 6 24
verify_import_file()
S
52 6 23
is_country_blacklist()
S
56 6 18
is_ip_whitelisted()
S
58 6 15
is_country_whitelist()
S
58 5 15
get_top_countries_blocked()
S
55 3 19
add_default_whitelisted_country()
S
66 3 8
are_ips_whitelisted()
S
67 3 8
get_default_ip_whitelisted()
S
63 2 10
is_blacklist()
S
75 1 4
is_blc_ip_whitelisted()
S
65 1 10